package com.ccb.jyzx.expand.ouapi.beans;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-11 16:02
 * @Description 部门信息
 **/
@ApiModel(description= "部门信息")
public class DepartmentInfo {
    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 组织ID
     */
    @ApiModelProperty(value = "组织ID")
    private String orgOrganizationId;
    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    private String deptName;
    /**
     * 部门代码
     */
    @ApiModelProperty(value = "部门代码")
    private String deptCode;
    /**
     * 部门编号
     */
    @ApiModelProperty(value = "部门编号")
    private String deptNum;
    /**
     * 父部门Id
     */
    @ApiModelProperty(value = "父部门Id")
    private String parentDept;
    /**
     * 排序号
     */
    @ApiModelProperty(value = "排序号")
    private String orderNum;
    /**
     * 状态:1 正常  0 停用
     */
    @ApiModelProperty(value = "状态:1 正常  0 停用")
    private int state;
    /**
     * 父部门
     */
    @ApiModelProperty(value = "父部门")
    private DepartmentInfo parent;
    /**
     * 子部门信息
     */
    @ApiModelProperty(value = "子部门信息")
    private List<DepartmentInfo> children;

    /**
     * 组织机构
     */
    @ApiModelProperty(value = "组织机构")
    private OrganiztionInfo organiztionInfo;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrgOrganizationId() {
        return orgOrganizationId;
    }

    public void setOrgOrganizationId(String orgOrganizationId) {
        this.orgOrganizationId = orgOrganizationId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptNum() {
        return deptNum;
    }

    public void setDeptNum(String deptNum) {
        this.deptNum = deptNum;
    }

    public String getParentDept() {
        return parentDept;
    }

    public void setParentDept(String parentDept) {
        this.parentDept = parentDept;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public DepartmentInfo getParent() {
        return parent;
    }

    public void setParent(DepartmentInfo parent) {
        this.parent = parent;
    }

    public OrganiztionInfo getOrganiztionInfo() {
        return organiztionInfo;
    }

    public void setOrganiztionInfo(OrganiztionInfo organiztionInfo) {
        this.organiztionInfo = organiztionInfo;
    }

    public List<DepartmentInfo> getChildren() {
        return children;
    }

    public void setChildren(List<DepartmentInfo> children) {
        this.children = children;
    }
}
